/**
 * Project Name:YCApiServer-dao
 * File Name:OptZan.java
 * Package Name:com.yc.music.model.musicYueshuo
 * Date:2016年5月19日上午10:37:37
 * Copyright (c) 2016 
 *
 */
package com.yc.music.model.musicYueShuo;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

/**
 * 
 * ClassName: YueshuoComment <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年9月26日 下午1:18:14 <br/>
 *
 * @author qinhaiguan
 * @version
 */
public class YueshuoComment implements Serializable{
	
	private static final long serialVersionUID = 4101277615380827136L;

	@NotNull(message = "{yueshuo.comment.empty}")
	private String comment;  //评论内容
	
	@NotNull(message = "{user.uid.empty}")
	private Long uid;  //发表评论者
	
	private int comment_type; //评论类型  1=默认，发帖，2=跟帖，回复
	
	@NotNull(message = "{yueshuo.itemid.empty}")
	private Long itemid;  //作品id
	
	private Long target_uid; //评论者的目标id

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public int getComment_type() {
		return comment_type;
	}

	public void setComment_type(int comment_type) {
		this.comment_type = comment_type;
	}

	public Long getItemid() {
		return itemid;
	}

	public void setItemid(Long itemid) {
		this.itemid = itemid;
	}

	public Long getTarget_uid() {
		return target_uid;
	}

	public void setTarget_uid(Long target_uid) {
		this.target_uid = target_uid;
	}
	

	
}
